home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5130 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.nde.state.ne.us!usenet
  2. From: John Peterson <jpeterso@genie.esu10.k12.ne.us>
  3. Newsgroups: comp.lang.c
  4. Subject: Windows programming
  5. Date: Fri, 09 Feb 1996 16:41:39 -0600
  6. Organization: Nebraska Dept. of Education
  7. Message-ID: <311BCDA3.7BFE@www.ord.esu10.k12.ne.us>
  8. NNTP-Posting-Host: 162.127.116.253
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (Win16; I)
  13.  
  14. I have Borland c++ 3.1 for windows, and I am trying to learn how to 
  15. program windows using the cryptic help file that comes with the compiler. 
  16.  I figured out quite a bit, but I'm stuck on dialog box resources.  
  17. Borland's format for the wndproc procedure is wndproc(HWND, UINT, WPARAM, 
  18. LPARAM).  Whenever I call MakeProcInst(dlgproc, hinst) to get the 
  19. function address for the dialog box call-back procedure, I get this 
  20. error:
  21. cannot convert MakeProcInst(int(pascal far*)(unsigned int, unsigned int, 
  22. unsigned int, long), unsigned int) to MakeProcInst(int(pascal far*)(), 
  23. unsigned int)
  24. What kind of variable is it looking for?  Should I be able to use the 
  25. procedure name?
  26. Any help would be greatly appreciated.
  27. Thanks.
  28.  
  29. Bjorn
  30.